package cn.trda.service;

import java.util.List;

import cn.trda.pojo.User;
import cn.trda.pojo.UserExt;

public interface Userservice {
	 int deleteByPrimaryKey(Long id);

	    int insert(User record);

	    int insertSelective(User record);

	    User selectByPrimaryKey(Long id);

	    int updateByPrimaryKeySelective(User record);

	    int updateByPrimaryKey(User record);
	    List<User> selectByusercode(String usercode);
	    User selectByUser(User user);
	    List<User> getPagedUsers(UserExt user);
		int getPagedCount(UserExt user);
}
